﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YasharEl.Infrastructure.EntityModel;

namespace YasharEl.Infrastructure.TaskEngine.Assignments
{
    public interface ITaskAssignment : IGenericEntity<long>
    {
        long TaskAssignmentId { get; set; }

        ITaskParticipant AssignedTo { get; set; }

        ITaskParticipant CreatedBy { get; set; }
        DateTime CreatedDate { get; set; }

        bool IsActive { get; set; }
        ITaskParticipant ModifiedBy { get; set; }
        DateTime? ModifiedDate { get; set; }

        ITask AssignedToTask { get; set; }
    }
}
